package com.tangpian.sna.core.analysis.lda;

import java.util.List;

import com.tangpian.sna.core.analysis.Result;
import com.tangpian.sna.core.analysis.lda.model.ItemTopic;
import com.tangpian.sna.core.analysis.lda.model.Topic;

public class LdaResult extends Result {
	private List<Topic> topics;
	private List<ItemTopic> mappings;

	public LdaResult(List<Topic> topics, List<ItemTopic> mappings) {
		this.success = true;
		this.topics = topics;
		this.mappings = mappings;
	}

	public LdaResult(boolean b) {
		this.success =b;
	}

	public List<ItemTopic> getMappings() {
		return mappings;
	}

	public void setMappings(List<ItemTopic> mappings) {
		this.mappings = mappings;
	}

	public List<Topic> getTopics() {
		return topics;
	}

	public void setTopics(List<Topic> topics) {
		this.topics = topics;
	}

}
